function loadCity(type,css){
	  var province = document.getElementById("province").value;
	  if(province!=""||province!=0){
	    document.getElementById("cityDiv").style.display="block";
	    var city = document.getElementById("city").value;
	    var type = type;var css=css;
	    $.ajax({
	    	url:'../ajax/loadArea.php',
	        type:'post',
	        data:{act:'citysel',type:type,province:province,city:city,css:css},
	        success:function(data){
	          document.getElementById("cityDiv").innerHTML = data;
	        },
			error:function(erg){
				document.getElementById("cityDiv").innerHTML = "加载失败...";
			}
		});
	  }else{
	    document.getElementById("cityDiv").style.display="none";
	  }
	}
/*下拉选定*/
function formSubmit(){
	var checktext = /^\s*$/;var keyword_value=$("#keyword").val();
	if($("#province").val()==0 && (keyword_value==""||checktext.test(keyword_value)==true)){
		alert("温馨提示：请输入要查询的关键字");
		return false;
	}else{
		$("#select_form").submit();
	}
	
}